package cn.bellychang.ood.payroll.affiliation;

import cn.bellychang.ood.payroll.domain.Affiliation;
import cn.bellychang.ood.payroll.domain.Paycheck;
import org.joda.money.CurrencyUnit;
import org.joda.money.Money;

/**
 * @author ChangLiang
 * @date 2020/5/19
 */
public class NonAffiliation implements Affiliation {
    @Override
    public Money calculateDeduction(Paycheck paycheck) {
        return Money.of(CurrencyUnit.of("CNY"), 0);
    }
}
